package com.zxx.pattern.commandPattern.command2;

/**
 * @author zxx on 2021/3/4
 */
public class CommandChangeChannel implements Command {

    private Television tv;

    public CommandChangeChannel() {
        tv = new Television();
    }

    @Override
    public void execute() {
        tv.changeChannel();
    }

}
